package com.ybkj.o2o.zhuanche.common;

import java.util.regex.Pattern;

public class PhoneNumberHelper {
  /**
   * 验证电话号码.
   */
  
  public static boolean isPhoneNumber(String input) {
    String regex = "^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$";
    return Pattern.matches(regex, input);
  }

}
